all: Protobuf_Client Protobuf_Server

Protobuf_Client : Protobuf_Client.cc ../include/proto/codec.cc request.pb.cc
	g++ -o $@ $^ -std=c++11 -g -I../include -L../lib -lmuduo_net -lmuduo_base -lpthread -lprotobuf -lz
#依赖什么库，去哪里找。

Protobuf_Server : Protobuf_Server.cc ../include/proto/codec.cc request.pb.cc
	g++ -o $@ $^ -std=c++11 -g -I../include -L../lib -lmuduo_net -lmuduo_base -lpthread -lprotobuf -lz 

.PHONY:clean
clean: 
	rm -f Protobuf_Server Protobuf_Client